/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JoinLobbyMenu.java
 *
 * Created on Feb 22, 2012, 3:54:22 PM
 */
package gui;

/**
 *
 * @author dalby
 */
public class JoinLobbyMenu extends javax.swing.JPanel {

    /** Creates new form JoinLobbyMenu */
    public JoinLobbyMenu() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        name5Label = new javax.swing.JLabel();
        name3Label = new javax.swing.JLabel();
        name4Label = new javax.swing.JLabel();
        hostNameLabel = new javax.swing.JLabel();
        name2Label = new javax.swing.JLabel();
        player5Label = new javax.swing.JLabel();
        player6Label = new javax.swing.JLabel();
        player3Label = new javax.swing.JLabel();
        player4Label = new javax.swing.JLabel();
        name6Label = new javax.swing.JLabel();
        gameTopicTagLabel = new javax.swing.JLabel();
        player2Label = new javax.swing.JLabel();
        gameNameTagLabel = new javax.swing.JLabel();
        hostTagLabel = new javax.swing.JLabel();
        selectedGameNameLabel = new javax.swing.JLabel();
        selectedGameTopicLabel = new javax.swing.JLabel();
        readyButton = new javax.swing.JButton();
        leaveButton = new javax.swing.JButton();
        status2Label = new javax.swing.JLabel();
        status3Label = new javax.swing.JLabel();
        status4Label = new javax.swing.JLabel();
        status5Label = new javax.swing.JLabel();
        status6Label = new javax.swing.JLabel();

       

        name5Label.setText("Player 5 name");

        name3Label.setText("Player 3 name");

        name4Label.setText("Player 4 name");

        hostNameLabel.setText("Player 1 name");

        name2Label.setText("Player 2 name");

        player5Label.setText("Player 5:");

        player6Label.setText("Player 6:");

        player3Label.setText("Player 3:");

        player4Label.setText("Player 4:");

        name6Label.setText("Player 6 name");

        gameTopicTagLabel.setText("Game topic:");

        player2Label.setText("Player 2:");

        gameNameTagLabel.setText("Game name:");

        hostTagLabel.setText("HOST:");

        selectedGameNameLabel.setText("Game name");

        selectedGameTopicLabel.setText("Game topic");

        readyButton.setText("READY");
        readyButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                readyButtonActionPerformed(evt);
            }
        });

        leaveButton.setText("LEAVE");
        leaveButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                leaveButtonActionPerformed(evt);
            }
        });

        status2Label.setText("STATUS");

        status3Label.setText("STATUS");

        status4Label.setText("STATUS");

        status5Label.setText("STATUS");

        status6Label.setText("STATUS");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(gameNameTagLabel)
                        .addGap(18, 18, 18)
                        .addComponent(selectedGameNameLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 186, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(gameTopicTagLabel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(selectedGameTopicLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 176, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(status2Label)
                            .addComponent(status3Label)
                            .addComponent(status4Label)
                            .addComponent(status6Label)
                            .addComponent(status5Label))
                        .addGap(59, 59, 59)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(player5Label)
                                .addGap(18, 18, 18)
                                .addComponent(name5Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(player4Label)
                                .addGap(18, 18, 18)
                                .addComponent(name4Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(player3Label)
                                .addGap(18, 18, 18)
                                .addComponent(name3Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(readyButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                        .addComponent(player6Label)
                                        .addGap(18, 18, 18)
                                        .addComponent(name6Label, javax.swing.GroupLayout.PREFERRED_SIZE, 172, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(leaveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(player2Label)
                                    .addComponent(hostTagLabel))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(hostNameLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(name2Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(gameNameTagLabel)
                    .addComponent(gameTopicTagLabel)
                    .addComponent(selectedGameNameLabel)
                    .addComponent(selectedGameTopicLabel))
                .addGap(46, 46, 46)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(hostTagLabel)
                    .addComponent(hostNameLabel))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(player2Label)
                    .addComponent(name2Label)
                    .addComponent(status2Label))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(player3Label)
                    .addComponent(name3Label)
                    .addComponent(status3Label))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(player4Label)
                    .addComponent(name4Label)
                    .addComponent(status4Label))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(player5Label)
                    .addComponent(name5Label)
                    .addComponent(status5Label))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(player6Label)
                    .addComponent(name6Label)
                    .addComponent(status6Label))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(readyButton)
                    .addComponent(leaveButton))
                .addContainerGap(73, Short.MAX_VALUE))
        );

      
    }// </editor-fold>//GEN-END:initComponents

    private void readyButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_readyButtonActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_readyButtonActionPerformed
    
    private void leaveButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_readyButtonActionPerformed
        MenuCycling.displaySelectLobbyScreen();
    }//GEN-LAST:event_readyButtonActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel gameNameTagLabel;
    private javax.swing.JLabel gameTopicTagLabel;
    private javax.swing.JLabel hostNameLabel;
    private javax.swing.JLabel hostTagLabel;
    private javax.swing.JButton leaveButton;
    private javax.swing.JLabel name2Label;
    private javax.swing.JLabel name3Label;
    private javax.swing.JLabel name4Label;
    private javax.swing.JLabel name5Label;
    private javax.swing.JLabel name6Label;
    private javax.swing.JLabel player2Label;
    private javax.swing.JLabel player3Label;
    private javax.swing.JLabel player4Label;
    private javax.swing.JLabel player5Label;
    private javax.swing.JLabel player6Label;
    private javax.swing.JButton readyButton;
    private javax.swing.JLabel selectedGameNameLabel;
    private javax.swing.JLabel selectedGameTopicLabel;
    private javax.swing.JLabel status2Label;
    private javax.swing.JLabel status3Label;
    private javax.swing.JLabel status4Label;
    private javax.swing.JLabel status5Label;
    private javax.swing.JLabel status6Label;
    // End of variables declaration//GEN-END:variables
}
